<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>VRD内容管理系统</title>

  <!-- Bootstrap -->
  <link href="js/bootstrap.min.css" rel="stylesheet">

  <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
  <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
  <!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
  <![endif]-->
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <style>
    body{background-color: #4e4e4e}
    /*导航条样式*/
    .navbar{
      background-color: black;
      border: 0;/*去掉边框*/
      margin-top: 10px;
    }
    .navbar-brand>img{
      position: relative;
      bottom: 10px;
    }
    /*搜索框样式*/
    form>input{
      background-color: #383838;
      height: 30px;
      border-radius: 30px;
      border: 0;
      padding: 10px 20px;
      color: #a8a8a8;
      margin-top: 10px;
    }
    form>button{
      background-color: rgba(0,0,0,0);
      color: #a8a8a8;
      border: 0;
      position: relative;
      right: 40px;
    }
    /*瀑布流相关样式*/
    .grid-item{
      width: 200px;
      margin: 0 10px 10px 0;
    }
    /*右侧边栏样式*/
    .list-group-item{
      background-color: black;
      color: #ffc600;
      border: 0;
    }
    .list-head{
      background-color: #ffc600;
      color: black;
    }
    .well{
      background-color: black;
      color: #ffc600;
      font-weight: bold;
      text-align: center;
      border: 0;
    }
  </style>
</head>
<body>
<header class="container">
  <nav class="navbar navbar-default">
    <div class="container-fluid">
      <div class="navbar-header">
        <a class="navbar-brand" href="#">
          <img alt="Brand" src="images/logo.png">
        </a>
      </div>
      <!--分类开始-->
      <ul class="nav navbar-nav">
        <li><a href="">首页</a></li>
        <li><a href="">手绘</a></li>
        <li><a href="">次时代</a></li>
        <li><a href="">雕刻</a></li>
        <li><a href="">室内设计</a></li>
        <li>
          <form action="">
            <input type="text" placeholder="Search">
            <button>
              <i class="fa fa-search"></i>
            </button>
          </form>
        </li>
      </ul>
      <!--分类结束-->
      <ul class="nav navbar-nav navbar-right">
        <li><a href="">管理员入口</a></li>
      </ul>
    </div>
  </nav>
</header>
<section class="container">
  <!--轮播图开始-->
  <div id="myCarousel" class="carousel slide">
    <!-- 轮播（Carousel）指标 -->
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>
    <!-- 轮播（Carousel）项目 -->
    <div class="carousel-inner">
      <div class="item active">
        <img src="images/banner0.jpg" alt="First slide">
        <div class="carousel-caption">标题 1</div>
      </div>
      <div class="item">
        <img src="images/banner1.jpg" alt="Second slide">
        <div class="carousel-caption">标题 2</div>
      </div>
      <div class="item">
        <img src="images/banner2.jpg" alt="Third slide">
        <div class="carousel-caption">标题 3</div>
      </div>
    </div>
    <!-- 轮播（Carousel）导航 -->
    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>
  <!--轮播图结束-->
  <div class="row" style="margin-top: 10px">
    <div class="col-md-9">
      <!--瀑布流开始-->
      <div class="grid">
        <div class="grid-item">
          <img src="images/a.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/b.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/c.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/d.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/dd.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/e.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/f.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/1.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/2.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/3.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/4.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/5.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/6.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/7.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/8.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/dd.jpg" class="img-responsive" alt="">
        </div>
        <div class="grid-item">
          <img src="images/cc.jpg" class="img-responsive" alt="">
        </div>
      </div>
      <!--瀑布流结束-->
    </div>
    <div class="col-md-3">
      <!--浏览最多开始-->
      <ul class="list-group">
        <li class="list-group-item list-head">
          <h4>
            <i class="fa fa-eye">浏览最多</i>
          </h4>
        </li>
        <!--1-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--2-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--3-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--4-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
      </ul>
      <!--浏览最多结束-->
<!--最受欢迎-->
      <ul class="list-group">
        <li class="list-group-item list-head">
          <h4>
            <i class="fa fa-thumbs-o-up">最受欢迎</i>
          </h4>
        </li>
        <!--1-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--2-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--3-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
        <!--4-->
        <li class="list-group-item">
          <div class="media">
            <div class="media-left">
              <a href="#">
                <img class="media-object" src="images/a.jpg" style="width: 64px ;height: 64px" alt="...">
              </a>
            </div>
            <div class="media-body">
              <h4 class="media-heading">标题</h4>
              详情介绍
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</section>


<footer class="container">
  <div class="well">
    Copyright © 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3

  </div>
</footer>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="js/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="js/bootstrap.min.js"></script>
<!--引入瀑布流相关js文件-->
<script src="js/masonry.pkgd.min.js"></script>
<!--图片加载完成事件-->
<script src="js/imagesloaded.pkgd.js"></script>
<script>
  //让轮播图开始自己移动
  $("#myCarousel").carousel("cycle");
  //初始化瀑布流框架
  $(".grid").masonry({
    itemSelector:".grid-item",  //告诉瀑布流框架通过此选择器可以找到页面中的元素
    columnWidth:210     //设置瀑布流每一列的总宽度(200元素宽度+10间距)
  });
  //瀑布流里面的图片添加加载完成事件
  $(".grid").imagesLoaded().progress(function () {
    //此处代码 会在图片加载完成之后执行
    $(".grid").masonry("layout");//让瀑布流框架重新计算每个元素的位置
  });

</script>
</body>
</html>